package Database;


import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;


@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Episode {
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long episodeID;

    @Persistent
    private String episodeName;
    
    @Persistent
    private long showID;

    public Episode(String episodeName,long showID) {
        this.setEpisodeName(episodeName);
        this.setShowID(showID);
        
    }

	private void setEpisodeID(Long episodeID) {
		this.episodeID = episodeID;
	}

	private Long getEpisodeID() {
		return episodeID;
	}

	private void setEpisodeName(String episodeName) {
		this.episodeName = episodeName;
	}

	private String getEpisodeName() {
		return episodeName;
	}

	private void setShowID(long showID) {
		this.showID = showID;
	}

	private long getShowID() {
		return showID;
	}



	

}
